import 'package:flutter/material.dart';
import 'package:idea_slot/Widgets/category_dropdown.dart';

class AddWord extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        margin: EdgeInsets.symmetric(horizontal: 15.0),
        padding: EdgeInsets.symmetric(vertical: 5.0),
        decoration: BoxDecoration(
            border: BorderDirectional(
                bottom:
                    BorderSide(color: Theme.of(context).primaryColorLight))),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceAround,
          children: <Widget>[
            Container(
              width: 160.0,
              child: TextField(
                decoration: InputDecoration(
                  hintText: "please input a word.",
                ),
              ),
            ),
            CategoryDropDown(),
          ],
        ));
  }
}
